<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Smart-T|智堂</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="../static/admin_res/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../static/admin_res/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../static/admin_res/dist/css/skins/_all-skins.min.css">
    <!-- Morris chart -->
    <link rel="stylesheet" href="../static/admin_res/plugins/morris/morris.css">
    <!-- jvectormap -->
    <link rel="stylesheet" href="../static/admin_res/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
    <!-- Date Picker -->
    <link rel="stylesheet" href="../static/admin_res/plugins/datepicker/datepicker3.css">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="../static/admin_res/plugins/daterangepicker/daterangepicker.css">
    <!-- bootstrap wysihtml5 - text editor -->
    <link rel="stylesheet" href="../static/admin_res/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
    <!-- Google Font -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic"></head>
  
  <body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
      <header class="main-header">
        <!-- Logo -->
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span></a>
          <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
              <!-- Messages: style can be found in dropdown.less-->
              <!-- User Account: style can be found in dropdown.less -->
              <li class="dropdown user user-menu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <img src="images/user2-160x160.jpg" class="user-image" alt="User Image">
                  <span class="hidden-xs">
                      {% if Uname %}
                        <p>{{ Uname }}</p>
                    {% endif %}
                  </span></a>
                <ul class="dropdown-menu">
                  <!-- User image -->
                  <li class="user-header">
                    <img src="images/user2-160x160.jpg" class="img-circle" alt="User Image">
                    <p>Alexander Pierce - Web Developer
                      <small>Member since Nov. 2012</small></p>
                  </li>
                  <!-- Menu Body -->
                  <li class="user-body">
                    <div class="row">
                      <div class="col-xs-4 text-center">
                        <a href="#">Followers</a></div>
                      <div class="col-xs-4 text-center">
                        <a href="#">Sales</a></div>
                      <div class="col-xs-4 text-center">
                        <a href="#">Friends</a></div>
                    </div>
                    <!-- /.row --></li>
                  <!-- Menu Footer-->
                  <li class="user-footer">
                    <div class="pull-left">
                      <a href="#" class="btn btn-default btn-flat">Profile</a></div>
                    <div class="pull-right">
                      <a href="#" class="btn btn-default btn-flat">Sign out</a></div>
                  </li>
                </ul>
              </li>
              <!-- Control Sidebar Toggle Button -->
              <li>
                <a href="#" data-toggle="control-sidebar">
                  <i class="fa fa-gears"></i>
                </a>
              </li>
            </ul>
          </div>
        </nav>
      </header>
      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <!-- search form -->
          <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
              <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat">
                  <i class="fa fa-search"></i>
                </button>
              </span>
            </div>
          </form>
          <!-- /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu" data-widget="tree">
            <li>
              <a href="pages/calendar.html">
                <i class="fa fa-calendar"></i>
                <span>Calendar</span>
                <span class="pull-right-container">
                  <small class="label pull-right bg-red">3</small>
                  <small class="label pull-right bg-blue">17</small></span>
              </a>
            </li>
            <li>
              <a href="pages/mailbox/mailbox.html">
                <i class="fa fa-envelope"></i>
                <span>Mailbox</span>
                <span class="pull-right-container">
                  <small class="label pull-right bg-yellow">12</small>
                  <small class="label pull-right bg-green">16</small>
                  <small class="label pull-right bg-red">5</small></span>
              </a>
            </li>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-share"></i>
                <span>Multilevel</span>
                <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
              </a>
              <ul class="treeview-menu">
                <li class="treeview">
                  <a href="#">
                    <i class="fa fa-circle-o"></i>Level One
                    <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i></span>
                  </a>
                  <ul class="treeview-menu">
                    <li>
                      <a href="#">
                        <i class="fa fa-circle-o"></i>Level Two</a>
                    </li>
                    <li class="treeview">
                      <a href="#">
                        <i class="fa fa-circle-o"></i>Level Two
                        <span class="pull-right-container">
                          <i class="fa fa-angle-left pull-right"></i></span>
                      </a>
                      <ul class="treeview-menu">
                        <li>
                          <a href="#">
                            <i class="fa fa-circle-o"></i>Level Three</a>
                        </li>
                        <li>
                          <a href="#">
                            <i class="fa fa-circle-o"></i>Level Three</a>
                        </li>
                      </ul>
                    </li>
                  </ul>
                </li>
              </ul>
            </li>
          </ul>
        </section>
        <!-- /.sidebar --></aside>
      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>Smart-T
            <small>智堂</small>
          </h1>
        </section>
        <!-- Main content -->
        <section class="content" style="width: 100%;height: 730px;">
          <div class="col-md-8">
            <!-- Horizontal Form -->
            <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title"></h3>
              </div>
              <!-- /.box-header -->
              <!-- form start -->
              <div class="form-horizontal" method="post" action="/room_service_order/">
                <div class="box-body">
                <form class="form-horizontal" action="/room_service_order/" method="post">
                    {% csrf_token %}
                    <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">Name</label>
                    <div class="col-sm-6">
                        <label for="inputEmail3" class="col-sm-2 control-label">
                            {{ Uname }}
                            <input type="hidden" name="ROtime" value={{ ROtime }}>
                            <input type="hidden" name="Rprice" value={{ Rprice }}>
                            <input type="hidden" name="Uname" value={{ Uname }}>
                            <input type="hidden" name="Uid" value={{ Uid }}>
                            <input type="hidden" name="Uid" value={{ Uid }}>
                            <input type="hidden" name="ROid" value={{ ROid }}>
                        </label>
                    </div>
                  </div>
                  <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">
                        {{ Rtype }}
                    </label>
                    <div class="col-sm-6">
                        <label for="inputEmail3" class="col-sm-2 control-label">
                            {{ Rprice }}
                        </label>
                    </div>
                  </div>
                  <table class="table table-hover table-striped">
                      <tbody>
                        {% for Service in Services %}
                          <tr>
                             <tr>
                                <td style="text-align: center" class="checkbox">
                                    <input type="checkbox" name={{ Service.Sid }}>
                                </td>
                                <td class="mailbox-name">
                                    <p>{{ Service.Sname }}</p>
                                </td>
                                <td class="mailbox-subject">
                                    <b>{{ Service.Sprice }}</b>
                                </td>
                                <td class="mailbox-subject">
                                    <b>{{ Service.Sdescribe }}</b>
                                </td>

                          </tr>
                        {% endfor %}
                        <td class="mailbox-date">
                          <div  style="text-align: center" class="btn-group">
                            <input type="submit" class="btn btn-info" value="立即下单"/>
                          </div>
                        </td>
                      </tbody>
                    </table>
                 </form>
                </div>
              </div>
            </div>
          </div>
        </section>
        <!-- /.content --></div>
      <!-- /.content-wrapper -->
      <footer class="main-footer">
        <div class="pull-right hidden-xs">
          <b>Version</b>2.4.0</div>
        <strong>Copyright &copy; 2018
          <a href="https://adminlte.io">Almsaeed Studio & Smart-T</a>.</strong>All rights reserved.</footer>
      <div class="control-sidebar-bg"></div>
    </div>
    <!-- ./wrapper -->
    <!-- jQuery 3.1.1 -->
    <script src="../static/admin_res/plugins/jQuery/jquery-3.1.1.min.js"></script>
    <!-- Bootstrap 3.3.7 -->
    <script src="../static/admin_res/bootstrap/js/bootstrap.min.js"></script>
    <!-- Morris.js charts -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
    <script src="../static/admin_res/plugins/morris/morris.min.js"></script>
    <!-- Sparkline -->
    <script src="../static/admin_res/plugins/sparkline/jquery.sparkline.min.js"></script>
    <!-- jvectormap -->
    <script src="../static/admin_res/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="../static/admin_res/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
    <!-- jQuery Knob Chart -->
    <script src="../static/admin_res/plugins/knob/jquery.knob.js"></script>
    <!-- daterangepicker -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
    <script src="../static/admin_res/plugins/daterangepicker/daterangepicker.js"></script>
    <!-- datepicker -->
    <script src="../static/admin_res/plugins/datepicker/bootstrap-datepicker.js"></script>
    <!-- Bootstrap WYSIHTML5 -->
    <script src="../static/admin_res/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
    <!-- Slimscroll -->
    <script src="../static/admin_res/plugins/slimScroll/jquery.slimscroll.min.js"></script>
    <!-- FastClick -->
    <script src="../static/admin_res/plugins/fastclick/fastclick.js"></script>
    <!-- AdminLTE App -->
    <script src="../static/admin_res/dist/js/adminlte.min.js"></script>
    <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
    <script src="../static/admin_res/dist/js/pages/dashboard.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="../static/admin_res/dist/js/demo.js"></script>
  </body>

</html>